/*! @file timeconvdlg.h
  * @brief Definition of TimeConvDlg Class
  * A Dialog to choose which time conversion to use
  * @author AK
  * @date 05.09.2012
  */

#ifndef TIMECONVDLG_H
#define TIMECONVDLG_H

#include <QDialog>
#include "timeconvdlg.h"
#include "ui_timeconvdlg.h"
#include "defines.h"

//! @brief TimeConvDlg Class definition
class TimeConvDlg : public QDialog,
        public Ui::TimeConvDlg
{
    Q_OBJECT

Q_SIGNALS:
    void gotTimeConv(int);

public:
    TimeConvDlg(QString, int, QWidget *parent = 0);
    void setProgress(int);      // sets Progressbar value

private:
    int selection;
    uint tmptime;


private Q_SLOTS:
    void on_okClicked();
    void setAnd();
    void setFF();
};

#endif // TIMECONVDLG_H
